namespace Form_YOLO_NET8
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            ApplicationConfiguration.Initialize();
           

            LoginForm form_Login = new LoginForm();
            form_Login.ShowDialog();
            if (form_Login.DialogResult == DialogResult.OK)
            {
                Application.Run(new MainForm());
            }
            else if (form_Login.DialogResult == DialogResult.Cancel)
            {
                form_Login.Dispose();
                return;
            }
        }
    }
}